Part Number Hot Search : 
BUL55A DS80C320 74HC2G86 TDS11 A1386A 4ALVCH16 MF1S50 750X7
Product Description
Full Text Search
 

To Download EU1020-15 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  eu1020 dec.2009 www.eorex.com 1/22 8-bit mcu with 10-bit a/d converter features ? 2.2v to 5.5v input voltage range ? 14 i/o ports in eu1020 ? ram size: 128 x 8 bits ? the stack ram is included. ? program rom size: 4k x 8 bits otp ? 10 bits a/d converter input source. eu1020: 4 channels ? one set of 16-bit down count timer and one set of 8-bit timer. ? operating temperature: -40 ~ +125 ? build-in low voltage reset (lvr) circuit. ? oscillator: internal rc oscillation. description the eu1020 is an otp type 8-bit micro-controller with 4 channels of 10-bit a/d converter using advanced cmos process. the eu1020 is specially designed for various industrial field applications. the eu1020 incorporates two sets of 8-bit timer/counters, where timer0/1 is specially designed for pwm (pulse width modulation) generator. there are 14 i/o ports with eu1020, respectively. considering form factor and manufacturability, the eu1020 is packaged into 16-pin non-jedec-standard compact-size sop. ordering information
eorex eu1020 dec.2009 www.eorex.com 2/22 pin assignment pin description pin name i/o function v dd - positive power supply v ss - ground pa0~pa6 i/o input and output ports. in input mode, all pa pins could be set an internal pull-up resistor (r=100kohm). in output mode, it could be optioned as cmos or nmos output independently. also, pa0~pa3 could be optioned as 4 channels of 10-bit a/d converter input pins. pb0~pb6 i/o input and output ports. in input mode, it could have optioned internal pull-up resistor with 100kohm. also, it can be set as halt and stop mode released source when the input signal is changed from high to low. in output mode, it could be optioned as cmos or nmos output independently. 1 2 3 4 5 6 7 8 15 14 13 12 11 10 9 vdd pa[0] pa[1] pa[2] pa[3] pa[4] pa[5] pa[6] pb[0] pb[1] pb[2] pb[3] pb[4] pb[5] sop-16l 16 vss pb[6]
eorex eu1020 dec.2009 www.eorex.com 3/22 mcu description item abbreviation description accumulator acc the eu1020 has an 8-bit register used for data hold, exchange, arithmetic , transfer and i/o operation. index register (x,y) in eu101x that builds in two index registers ( x and y ). these two index registers could be used to count program steps or to provide an index val ue to be used in generating as effective address. when executing an instruction which specifies indexed addressing, the mcu fetches the operation code and the base address, and modifies the address by adding the index register to its prior to perform the desired operation. per or post-index of indirect address is possible. special function register sfr the eu102x includes some special function control registers in zero-page. for more detailed information about the special function registers, please refer to next section. stack pointer register sp the stack pointer is an 8-bit register that is used to control the addressing of the variable-le ngth stack. the stack pointer is automatically incremented and decremented under control of the microprocessor the perform stack manipulations under direction of either the program or interrupts. the stack allows a simple implementation of nested subroutines and multiple level interrupts. the stack pointer is initialized by the user?s software. program counter pc the 14-bit program counter register provides the address that step the micr oprocessor through sequential program instructions. program flag register p the 8-bit status flag register contains seven status flags. some of the flags are controlled by the program and others may be controlled both by the program and the mcu. instruction set contains a number of conditional branch instructions that are designed to allow testing of these flags.
eorex eu1020 dec.2009 www.eorex.com 4/22 memory the eu1020 has a 14-bit program counter which can totally address 16k x 8 bits. all the special function registers, data ram, stack ram and program rom are assigned in this area as the following diagram. 0000h special function register 0022h un-used 00a0h ( zero page ) data ram : 96 x 8 bits 00ffh 0100h data & stack ram : 32 x 8 bits 011fh un-used 2 000h program rom : 4 k x 8 bits 2fffh figure_a memory mapping diagram program rom the eu1020 contains 4kx8 bit program otp and its addressing size is assigned from $2000h to $2fffh. after power on reset, the data restored in addresses $2ffch and $2ffdh are loaded into program counter. it means that reset vector address is located in $2ffch and $2ffdh. data ram and stack ram the eu1020 data ram are located from $a0h to $1 1fh. all the data ram area from $a0h to $0ffh could be accessed by zero-page addressing mode. that stack ram could be accessed from $100h to $11fh. actually, the area of $100h ~ $11fh, could be accessed as data ram or stack ram. user needs to preset stack pointer (sp) after power on re set. program counter (pc) should be initialized after power on reset that rom address $2ffch and $2ffdh content will be loaded into program counter.
eorex eu1020 dec.2009 www.eorex.com 5/22 special function register (sfr) special function register area is during the addr esses from $00h to $22h. these special function registers control all i/o and timer function setting. some of memory addresses are not defined and un-used. it is unnecessary for the users to read or write data from these undef ined areas. user should follow the default value or do not access these un defined area. all its functions are listed in next sections. interrupt and timers the eu1020 builds in 8 interrupt sources: real time clock interrupt, time base interrupt, pb input ports falling edge interrupt, timer0 underflow interrupt, time r1 underflow interrupt, a/d converter interrupt and reset interrupt. by setting control register inte n (00h) that can enable or disable corresponding interrupt sources. interrupt source, interrupt vect or address mapping and its priority are shown in the following table. address interrupt source priority 2fff0h/2ff1h adc interrupt 7 2ff2h/2ff3h timer1 interrupt 6 2ff4h/2ff5h timer0 interrupt 5 2ff6h/2ff7h pb port interrupt 4 2ff8h/2ff9h time base interrupt 3 2ffah/2ffbh rtc interrupt 2 2ffch/2ffdh reset 1 2ffeh/2fffh reserved 0 address 00h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name inten adint # # t1int t0int pbint tbint rtcint read or write r/w # # r/w r/w r/w r/w r/w default value 0 # # 0 0 0 0 0
eorex eu1020 dec.2009 www.eorex.com 6/22 rtc timer, base timer interrupt and watch dog timer real time counter the eu1020 build-in a real time counter interrupt and it s clock source is fosc. its frequency could be optioned by ucclk.4 & ucclk.3 that could select real time interrupt frequency. for example, if the clock source come from exclk/pb3 (when cksel=1) and the input frequency is 32,768hz, select ?[rtc1, rtc0] = [0, 1]? and it will cause 2hz inte rrupt when real time counter interrupt enabled (rtcint=1) & (rtcen=1). rtc1 rtc0 t rtc 0 0 t t /32 0 1 t t /64 1 0 t t /128 1 1 t t /256 address 03h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name ucclk # base1 base0 rtc1 rtc0 rcsel2 rcsel1 resel0 read or write w w w w w w w w default value 0 0 0 0 0 0 0 0
eorex eu1020 dec.2009 www.eorex.com 7/22 base timer base timer is optioned from [base1, base0] and it will cause a period time r base interrupt enabled (tbint=1) & (tben=1). base1 base0 t base 0 0 t t /2 0 1 t t /4 1 0 t t /8 1 1 t t /16 mcu clock selection with a built-in internal rc oscillator, the mcu frequency (fosc) is 4mhz 3% @4.5v. mcu system clock (fsys) offers 4mhz, 2mhz, 1mhz, 500khz or 250khz by mcu clock options bit; rcsel2~0. please refer to the following table. address 03h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name ucclk # base1 base0 rtc1 rtc0 rcsel2 rcsel1 rcsel0 read or write # w w w w w w w default value 0 0 0 0 0 0 0 0 the mcu system clock could be switched by setting rcsel2~0. first, pre-set rcsel2~0 register and then execute ?halt? instruction. after then, mcu wa ke-up from halt mode, mcu system frequency is already changed to the new setting frequency. rcsel2 rcsel1 rcsel0 frequency of mcu system clock (fsys) 0 0 0 250khz 0 0 1 500khz 0 1 0 1mhz 0 1 1 2mhz 1 # # 4mhz (fosc)
eorex eu1020 dec.2009 www.eorex.com 8/22 tmrc register *tmrc.0(rtcf) : real time counter transient flag. once trtc signal is transient, this flag will be set as rtcf=1 by hardware. this bit could be cleared by software. *tmrc.1(rtcen) : real time counter enable/disable flag. rtcen = 1, enable real time counter; rtcen = 0, disable real time counter. *tmrc.2(tbf) : base timer transi ent flag. once tbase signal is transient, this flag will be set as tbf=1 by hardware. this bit could be cleared by software. *tmrc.3(tben) : base timer enable/disable flag. tben = 1, enable base timer; tben = 0, disable base timer. watchdog timer watchdog timer block diagram is shown as figure_b. the clock source comes from cpu system clock. figure_b note: *once tmrc.5 (wdten) is set as ?1?, the watchdo g timer will start to count till the watchdog timer overflows, and then the tmrc.4 (wdtf) is set as ?1?. meanwhile, cpu will have a warm reset by hardware and the data in addresses $2ffch and $2 ffdh will be loaded into program counter. watchdog timer can be cleared by setting tmrc.5 (wdten=0). please note well that the eu1020 watchdog timer is preset as disable after power on reset. once watchdog timer is enabled by setting tmrc.5=1, watchdog timer won?t be stopped by software. set tmrc.5=0 will just clear watchdog timer counter. address 01h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name tmrc wdt divide wdten wdtf tben tbf rtcen rtcf read or write w w r/ w r/w r/w r/w r/w r/w default value 0 0 0 # 0 # 0 #
eorex eu1020 dec.2009 www.eorex.com 9/22 wdt divider tmrc (01h) bit7 bit6 f sys/2 0 0 f sys/4 0 1 f sys/8 1 0 f sys/16 1 1 pb ports interrupt pb6~0, in input mode, could be optioned as external interrupt source by setting pbint (00h.2) = 1. when the interrupt enabled and external signal cha nged from high to low, the pb port interrupt will take into action and its interrupt vector is $2ff6h and $2ff7h. a falling edge signal at pb ports will wake up cpu from halt or stop mode. when pb port interrupt is enabled (pbint=1), cpu will wake up from halt or stop mode, and serve pb port interrupt first and then execute next instructi on. if pb port interrupt is disabl ed, cpu will just be waked up and then execute next instruction only. user should check which pb port the falling edge signal comes from by pbf control register. if the falling edge is from pb0, th e pbf.0 will be set to ?1? by hardware. these flags could be cleared by software. timer0 timer0 is an 8-bit down count timer. its clock source comes from cpu main-oscillator (f osc ) or exclk/pb3, which is listed in figure 4-3. user can preset timer0 counter by setting data into timer0 preload buffer t0bf(04h). the data read from t0 bf(04h) will be the current count of timer0. timer0 will down count by every input clock when t0en=1. when timer0 down count from 00h to ffh, t0f will be set to ?1? and if t0int =1, the timer0 interrupt will occur. timer0 will automatically reload data from t0bf/04h (timer0 preset buffer). therefore, user can preset timer0 new data into t0bf(04h) before timer0 underflow and cause different interrupt time duties. that is, timer0 data will be loaded from t0bf buffer after t0en bit is set as ?1? or timer0 underflows. address 02h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pbf # pbf6 pbf5 pbf4 pbf3 pbf2 pbf1 pbf0 read or write # r/w r/ w r/w r/w r/w r/w r/w default value # 0 0 0 0 0 0 0
eorex eu1020 dec.2009 www.eorex.com 10/22 address 04h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name t0bf 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 read or write r/w r/w r/w r/w r/w r/w r/w r/w default value # # # # # # # # address 05h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name t0c t0en t0f t0ck # # timer0 pre-scaler read or write r/w r/w r/w # # r/w r/w r/w default value 0 # # # # # # # note: *t0en : timer0 enable flag t0en = 1, load t0bf content (preload buffer data) into timer0 and enable timer0 start to down count. t0en = 0, stop timer0 counting. user can get timer0 data by reading t0bf register. (lda t0bf) * when t0en=0, write data to t0bf(04h), data will be directly passed to timer0 counter. t0f : timer0 underflow flag t0f = 1, timer0 underflow; t0f = 0, timer0 not underflow. *t0ck : timer0 clock source option bit t0ck = 1, clock source from exclk/pb3 pin. user can set t0 ck=1, exclk/pb3 is optioned as external clock input pin that connect to timer0. before this, user should set pbio.3=1 and pbmd.3 internal pull-up resistor could be enabled or disabled. t0ck = 0, clock source from fosc. *there is no default data with t0ck bit, user should preset this bit after power on reset. bit2 bit1 bit0 timer0 pre-scaler(f clk0 = ) 0 0 0 f sys /1 0 0 1 f sys /2 0 1 0 f sys /4 0 1 1 f sys /8 1 # # f sys /16
eorex eu1020 dec.2009 www.eorex.com 11/22 note: * bit2~0 are timer0 clock source selection bits. they must follow the setting listed below. if the bit2=1, it would be divided by 16 while bit1 and bit0 could be any data. when t0ck=1, don?t care bit2~0 data. figure_c timer1 address 06h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name t1bf0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 read or write r/w r/w r/w r/w r/w r/w r/w r/w default value # # # # # # # # address 07h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name t1bf1 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 read or write r/w r/w r/w r/w r/w r/w r/w r/w default value # # # # # # # # timer1 is a 16-bit down count timer. t1bf0(06h)/l ow byte and t1bf1(07h)/high byte are timer1 preload buffer. timer1 clock source could come from cpu ma in oscillator (fosc), refer to figure_d. timer1 can work in two kinds of operating mode. one mode is normal 16-bit timer/counter mode and the other one is specially designed for different interrupt time period. figure_d
eorex eu1020 dec.2009 www.eorex.com 12/22 timer/counter mode if t1c.4 (08h.4)=p wm1=0, timer1 works as 16-bit timer/counter mode, register timer1 will down count by every input clock when timer1 turns on by t1en=1 . when timer1 is down count from 0000h to ffffh, t1f bit will be set to ?1?. at the same time, if t1 int=1, the timer1 interrupt occurs. timer1 will automatically reload data from preload buffer t1bf 0(06h) and t1bf1(07h). theref ore, user can preset t1bf0(06h) and t1bf1(07h) buffer data before differ ent interrupt time duties caused by timer1 underflow. it means that timer1 data will be loaded from t1bf0(06h) and t1bf1(07h) buffer after t1en bit is set as ?1? or timer1 underflow. address 08h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name t1c t1en t1f t1ck pwm # `timer1 pre-scaler read or write w r/w r/w w # w w w default value 0 # # 0 # # # # note: *t1en : timer1 enable flag t1en = 1, enable timer1 start to down count; t1en = 0, stop timer1 down count. (when t1en=0 and write data into t1bf0(06h) and t1bf1(07h) , the data will be direct ly passed to timer1 counter.) *t1f : timer1 underflow flag t1f = 1, timer1 underflow; t1f = 0, timer1 not underflow. bit2~bit0 are timer1 clock source selecti on bits. it must follow the setting as below. bit2 bit1 bit0 timer1 pre-scaler (fclk1= ) 0 0 0 f osc /1 0 0 1 f osc /2 0 1 0 f osc /4 0 1 1 f osc /8 1 # # f osc /16
eorex eu1020 dec.2009 www.eorex.com 13/22 pwm mode set t1c .4 =1(pwm=1), timer-1 will work in pwm mode. user can preset t1bf0 and t1bf1. timer1 interrupt will have two kinds of time duties based on t1bf0 and t1bf1 data. i/o ports pa ports (pa6 ~ pa0) are 8-bits i/o ports. system can either output data by writing data into pa(10h) ports or read data from input mode by reading pa(10h) ports. when pa ports are set in output mode, it can be optioned by software as cmos or nmos output. set in input mode, pa ports can be optioned as internal pull up or input with floating status. also, pa6~0 could be optioned as a/d converter analog signal input pins. please refer to a/d converter section. address 10h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pa # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # # # # # # # # paio register: control pa port either as input mode or output mode. paio register can be set partially bits in input mode and partial bits in output mode. address 11h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name paio # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 1 1 1 1 1 1 1 note: *paio.n = 1, set as input mode. (please be noted that paio.0 default data is ?0?.) paio.n = 0, set as output mode. that n = 6 ~ 0.
eorex eu1020 dec.2009 www.eorex.com 14/22 pacn register: control output mode as cmos or nmos output. address 12h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pacn # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 0 0 0 0 0 0 0 note: *pacn.n = 1, set as cmos output; pacn.n = 0, set as nmos output. that n = 6 ~ 0. paph register: enable/disable pa ports internal pull high when pa port is set as input mode. address 13h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name paph # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 0 0 0 0 0 0 0 note: *paph.n = 1, internal pull high resister enable; paph.n = 0, internal pull high resister disable, where n = 6 ~ 0. pb ports pb port s (pb6 ~ pb0) are 8-bit i/o ports. user can either output data by writing data into pb(14h) ports. or read data at input mode by reading pb(14h) ports. address 14h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pb # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # # # # # # # # pbr register address 15h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pbr # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 0 0 0 0 0 0 0
eorex eu1020 dec.2009 www.eorex.com 15/22 note: *pbr.n = 1, enable halt or stop mode released by input falling edge signal; pbr.n = 0, disable halt or stop mode release, where n = 6 ~ 0. *setting pbr.n register as ?1? can enable to release halt or stop mode by pb port input signal from high to low. after halt or stop mode released, the oscillator will oscillate at the same time. if pbint=1, pb-interrupt subroutin e will start. if pbint=0, the program counter will execute the next instruction after halt or stop. pbio register: control pb port as input or output mode. al so, it can be set as partial bits in input mode and partial bits in output mode. address 16h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pbio # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 1 1 1 1 1 1 1 note: *pbio.n = 1, set as input mode; pbio.n = 0, set as output mode.; that n =6 ~0. pbmd register address 17h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name pbmd # 1/0 1/0 1/0 1/0 1/0 1/0 1/0 default value # 0 0 0 0 0 0 0 note: *when pbio corresponding bit is optioned as output mode (pbio.n=0), pbmd.n will work as cmos or nmos option bit. (pbio.n=0, pb.n works as output mode) pbmd.n = 0, pb.n is nmos output. pbmd.n = 1, pb.n is cmos output. *when pbio corresponding bit is optioned as in put mode (pbio.n=1), pbmd.n will work as internal pull-up resistor enable bit or disable bit. (pbio.n=1, pb.n works as input mode) pbmd.n = 0, disable pb.n internal pull-up resistor, pbmd.n = 1, enable pb.n internal pull-up resistor. that n = 6 ~ 0.
eorex eu1020 dec.2009 www.eorex.com 16/22 a/d converter the eu1020 is built-in with 4 channels of 10-bit analog to digital converter. the analog signal input pins are shared from pa3~0. these options are cont rolled by adin(09h) and adcc(0ah) registers. adin register: pa3 ~pa0 ports could be optioned as a/d converter analog si gnal input pins. user can select partial or all pa3 ~pa0 pins as analog input pins by adin3 ~0 for corresponding bit. address 09h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name adin # # # comp adin3 adin2 adin1 adin0 read or write # # # w w w w w default value # # # 0 0 0 0 0 note: *adin3~0: option of pa3~pa0 as analog signal input pin. *adinn = 1, set pa3~0 pin as analog signal input pin; adinn = 0, set pa3~0 as normal input/output pin, where n=3~0. * when pa3~0 is set as analog input pin(s), pa ports control register will be inactive to access. that is, when pa port is set as analog signal input pin, all pa i/o port functions will be blocked out. note: *comp = 0, disable internal comparator; comp = 1, enable internal comparator. when comp=1, pa4 and pa5 will act as comparat or input pin, and then comparator output pin will be connected to pb4 internally. adcr register address 0ah bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name adcr aden stc # ads1 ads0 # # # read or write w r/w # w w # # # default value 0 # # # # # # #
eorex eu1020 dec.2009 www.eorex.com 17/22 note: *adcr.7(aden) : enable a/d converter adcr.7 = 1, turn on or enable a/d converter; adcr.7 = 0, turn off or disable a/d converter. *adcr.6 ( stc ) : a/d converter finished interrupt flag, write a high to this bit to start adc conversion. adcr.6 = 1, a/d converter translation is in busy. adcr.6 = 0, a/d converter is standby status. ads1/bit4 ads0/bit3 select pin 0 0 pa0 0 1 pa1 1 0 pa2 1 1 pa3 note: * adcr.4~3(ads1~0) : select acting analog channel input * user can preset a/d converter sampling rate from adrl.2~0 control register. the sampling clock comes from internal ring oscillator. the re ference sampling rate setting is listed below. a/d configuration and control block
eorex eu1020 dec.2009 www.eorex.com 18/22 note: *user should select pa3~0 ports as analog signal input pin(s) by setting adin.3~0. set adcc.7 (aden) = 1 to enable a/d converter circuit, and then select input pin from adcc.4~3 (ads1/ads0). the converter clock comes from f adc. after system completed an a/d converting cycle, adc interrupt takes into action (if adint=1). user can read the converting data from adrh and adrl registers. [adrh + adrl] are totally 10 bits in 2 bytes control registers. these 2 bytes of register will keep the last a/d conv ert data. when a/d conver sion are all completed, user should turn off a/d converter by setting adcc.7 (aden) =0. adsp2~0 control register: a/d converter sampling rate setting address 0bh bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name adrl ad1 ad0 # # # adsp2 adsp1 adsp0 read or write r r # # # w w w default value # # # # # # # # adc sampling rate adsp2 adsp1 adsp0 8 hz 0 0 0 16 hz 0 0 1 32 hz 0 1 0 64 hz 0 1 1 128 hz 1 0 0 256 hz 1 0 1 512 hz 1 1 0 1024 hz 1 1 1 address 0ch bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name adrh ad9 ad8 ad7 ad6 ad5 ad4 ad3 ad2 read or write r r r r r r r r default value # # # # # # # #
eorex eu1020 dec.2009 www.eorex.com 19/22 low voltage reset circuit ( or power failed detector ) 2.4v the eu1020 is built in low-voltage-reset circuit to detect and against power noise. the low voltage reset will be active when vdd is dropped lower than 2.4v. note that, in stop mode, low voltage reset function will be disabled by hardware. the low volt age reset function will be active when cpu is not working in stop mode. halt mode the eu1020 will enter halt mode by setting an instruction as ?sta $0eh?. the data in acc could be any data among #00h~#ffh. in halt mode, cpu core will susp end and just hold at that program counter. all the internal circuit will suspend, except system clock and timer/counter kept running. halt mode could be released from timer underflow or pb por ts input signal from high to low. when halt mode is released, program counter will execute next instruct ion after ?sta $0eh?. if ti mer interrupt is enabled, it serves timer interrupt first, and then execute next instruction after ?sta $0eh?. when halt mode is released by pb ports falling-edge, program counter ex ecute next instruction. if pb interrupt is enabled, pbint =1, pb interrupt subroutine will be activated. address 0eh bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name halt # # # # # # # # stop mode when executed ?sta $0fh?, whole chip will enter stop mode. the data in acc could be any data of #00h~#ffh. in stop mode, system clock and timer/co unter will be stopped. at this condition, operating current could be down less than 1 a. only input signal from high to low of pb ports can release the chip from stop mode. when stop mode is released by pb ports, program co unter will execute next instruction of ?sta $0fh?. if pb interrupt is enabled, pbint=1, pb interrupt subroutine will be activated first. address 0fh bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 name stop # # # # # # # # mcu system clock this cpu is built-in internal rc oscillator whose fr equency is 4mhz. the tolerance of the frequency is within 3% .
eorex eu1020 dec.2009 www.eorex.com 20/22 dc characteristics t a = 0 to 70 , vcc = 2.7v to 5.5v (unless otherwise noted) symbol parameter condition min typ max units v oh output high voltage (ports a & b) i oh = -20ma, vcc = 5.0v i oh = -10ma, vcc = 3.0v 4.2 2.2 v v ol output low voltage (ports a & b) i ol = 20ma, vcc = 5.0v i ol = 10ma, vcc = 3.0v 0.7 0.5 v r pu pull-up resistor (ports a & b) 80 150 k ? i cc power supply current (no timer & adc active) active 4mhz, vcc = 5.0v halt mode, vcc = 5.0v stop mode, vcc = 5.0v 800 600 300 a v acio analog comparator input offset voltage vcc = 5.0v vin = vcc/2 50 mv t acpd analog comparator propagation delay vcc = 5.0v 45 ms t adc analog-to-digital port response time vcc = 5.0v 90 s
eorex eu1020 dec.2009 www.eorex.com 21/22 package description sop-16l h e b c j k e dimensions millimeters ref. min max a 5.79 6.19 b 9.80 10.00 c 3.81 3.99 d 0 5 e 0.50 0.90 f 0.25 ref. m 0.08 0.24 h 0.40 ref. l 1.47 1.73 j 0.375 ref. k 45 e 1.27 ref.
eorex eu1020 dec.2009 www.eorex.com 22/22 revision history revision 0.1 (jul 2007) - first release revision 0.2 (aug. 2007).... - pin description . revision 0.3 (apr. 2008).... - eu101x .-> eu1010 revision 0.4 (jul. 2008).... - modify memory / address revision 0.5 (feb. 2009).... - modify -40c~125c revision 0.6 (feb. 2009).... - modify ordering information (xxxx = customer/product code ) revision 0.7 (dec. 2009)?. - modify ?clear wdt timer setting? (tmrc.5=1, that is wdten=1) revision 0.8 (mar, 2010)?. - add dc characteristics table


▲Up To Search▲   

 
Price & Availability of EU1020-15

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X